add middleware 404 on non-existent file