Added new exception for unrecognized file extensions
Improved exception message