renaming file (removing spaces(OCD kicking in(parenthesis inception)))

how do I change the filetype?