Adding an argument for the file name and bringing the temp files in to the local directory