adapted convert/thumbnails to current API esp 'File' data model