rename some files and add validation for path