$router is now $file