updated version file
file parameter was specified as string not infilename which broke the
save as functionality