def remove_all_files_of_img_id(img_id):
files = get_files_by_img_id(img_id, check_hash=False)<EOL>if files:<EOL><INDENT>os.remove(media_path(files['<STR_LIT>']))<EOL>for fn in files['<STR_LIT>'].values():<EOL><INDENT>os.remove(media_path(fn))<EOL><DEDENT><DEDENT>
Removes all img_id's files.