Fixed: media type validation for files.