"write variable to file, including name",f.close()