We should append the contents of the file rather than just the filename given.