added file object and thumbnail extraction from exif