Added supportsExif method and check if file supports exif before trying to read exif data