code: def createFile(self, path: str = '', name: str = None,
                     pathName: str = None) -> 'File':
          
  
          file = File(self, path=path, name=name, pathName=pathName)
          self._files[file.pathName] = file
          return file
docs: Create File
  
          Creates a new file and updates file dictionary.
  
          @param path: File path.  Defaults as empty string.
          @param name: File name to be used if passed.
          @param pathName: Joined file name and path to be used if passed.
          @type path: String
          @type name: String
          @type pathName: String
          @return: Created file.