rename files and codes