Only return object if both extension and MIME type is found