Head slap! Of course the size needs to be specified. Thanks for pointing that out.

The size argument to the file_append function doesn't appear in the manual - can it be added please?