Rename the print() function to createDotFile().