seperate files and rename