in reply to Re^2: file copy undefined?
in thread file copy undefined?

The answer is in your errors: The script does not see the file in question on your system. I would suggest adding print statements on your file paths and then checking if they correspond to the files you think you are opening.