dictionary
dict changes
del doctype cont and replace with file.write funct