Allow providing a file to copy from command line args
Make sure we don't try to write the CLI provided file more than once