added try catch on all file operation

and added the delete of existing targets before move.
My assumption is that files with the old names are the right ones