resolving file renaming issues.