def render_filefield(field, attrs):
field.field.widget.attrs["<STR_LIT>"] = "<STR_LIT>"<EOL>if not "<STR_LIT>" in attrs:<EOL><INDENT>attrs["<STR_LIT>"] = True<EOL><DEDENT>return wrappers.FILE_WRAPPER % {<EOL>"<STR_LIT>": field,<EOL>"<STR_LIT:id>": "<STR_LIT>" + field.name,<EOL>"<STR_LIT>": pad(attrs.get("<STR_LIT>", "<STR_LIT>")),<EOL>"<STR_LIT:text>": escape(attrs.get("<STR_LIT>", "<STR_LIT>")),<EOL>"<STR_LIT>": format_html(wrappers.ICON_TEMPLATE, attrs.get("<STR_LIT>", "<STR_LIT>"))<EOL>}<EOL>
Render a typical File Field.