Filename and file contents are now saved before parsing