tgext.datahelpers uploads files on disk inside the public/attachments
directory (this can be change with tg.config['attachments_path']
).
So your file is already stored on disk, only the file metadata, like the URL, filename, thumbnail_url and so on are stored on database in JSON
format