verbDocs

File verbs
  file.writeWholeFile (path, text)
    What it does
      Creates a new private file, or overwrites an existing file, at the indicated path, with the contents of the second parameter. It creates any folders needed to store the file if they don't exist.
    Returns
      true.
    Common error
      None documented.
    Note
      Files are, by default, private. If you want to create a public file, first create the private file then call file.makeFilePublic.
    Example
      file.writeWholeFile ("hello.txt", "Hello World");
      file.writeWholeFile ("code/alert.js", "dialog.alert ('Yo!'"));
    Bugs
      None documented.
  file.readWholeFile (path)
    What it does
      Reads the file at the indicated path and returns its contents as a string.
    Returns
      The contents of the file, as a string.
    Common error
      The file does not exist.
    Example
      file.readWholeFile ("hello.txt") //returns contents of file hello.txt
  file.sureFilePath (path)
    What it does
      Creates any sub-folders needed to be sure you can create the file indicated by path.
      The path is created in the user's private space.
    Returns
      true
    Example
      f = "code/project/app.js"; file.sureFilePath (f); file.writeWholeFile (f, "dialog.alert (\"I am an app.\")")
    Bug
      Not implemented yet.
  file.makeFilePublic (path)