File-based routing is one of the best things to have up to particular size of an application. Makes navigating the code so much easier then routing spread throughout the code base
More importantly you shouldn't need to restructure the codebase if the application routing changes
File based routing is a terrible idea