def htmlABF(ID,group,d,folder,overwrite=False):
fname=folder+"<STR_LIT>"%ID<EOL>if overwrite is False and os.path.exists(fname):<EOL><INDENT>return<EOL><DEDENT>html=TEMPLATES['<STR_LIT>']<EOL>html=html.replace("<STR_LIT>",ID)<EOL>html=html.replace("<STR_LIT>",htmlABFcontent(ID,group,d))<EOL>print("<STR_LIT>"%os.path.basename(fname))<EOL>with open(fname,'<STR_LIT:w>') as f:<EOL><INDENT>f.write(html)<EOL><DEDENT>return<EOL>
given an ID and the dict of files, generate a static html for that abf.