Check static files before router files.