def _insert_file(file_bytes, media_type, cursor):
cursor.execute('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>',<EOL>(Binary(file_bytes), media_type))<EOL>return cursor.fetchone()[<NUM_LIT:0>]<EOL>
Insert a file, with media_type, into the files table. Returns fileid