OK great, this has answered a few things such as processing each file, opening, saving and closing.
I just need to sort out how to carry out each step in the WBLOCK process, specifying the block (same as filename) and the output folder.
When I went to the command line (after running WBLOCK), there isn't anything which gives a clue as to what the code may be. The only thing I see is "Command: WBLOCK" but nothing after that.