removing the comments from the file and renaming the file so it doesn't have the ruby extension