rename files in a folder if they are the appropriate type