Added new exception for unknown extensions, updating reader class