Further work on file data output