Reading and Writing Files

Folks,

I was able to resolve after removing the function to check if the file exists in the function “copyFile”

It means that after running the “doesFileExist” function the system loses or changes the path of the temporary file.

Would that be a bug?