rename files for end points