Match class names in controller with filenames