removing reference files, renaming method