code: def create_file(self, fileName, contents=""):
          
          with open(fileName, "w") as written_file:
              written_file.write(contents)
docs: Create a file with contents
          
          Usage: C{system.create_file(fileName, contents="")}
          
          @param fileName: full path to the file to be created
          @param contents: contents to insert into the file