Fix path issue and rename files.