Fixing FileView for read-only access.
Handling missing images by returning 404 with image content.