Removed debug printing. "my" variables. check to see if file already exists before renaming.