changed routes to files