Open a file to work with it into the copyFile()