file renaming and initial coding