Added checks to prevent SVG and XML file types from being processed.
Updated exception handling across the codebase to use UnexpectedStorageException for better clarity and specificity in error reporting.