ignoring files and adding a consistent error response