fix file names to follow rails convention