File renaming for script