createDotFile working