Problem with Recording

Hi. I am facing an issue while trying to use the recorder. I have created a simple activity flow using the recording to make a copy of an existing file within the same folder. However, when I tried to run, it failed and all my documents along with all folders and subfolders got deleted. Please advise.