def _get_thumbnail_filename(filename, append_text="<STR_LIT>"):
name, ext = os.path.splitext(filename)<EOL>return '<STR_LIT>'.join([name, append_text, ext])<EOL>
Returns a thumbnail version of the file name.