code: function createWithSuggestedName(suggestedName) {
              return ProjectManager.createNewItem(baseDirEntry, suggestedName, false, isFolder)
                  .always(function () { fileNewInProgress = false; });
          }
docs: Create the new node. The createNewItem function does all the heavy work of validating file name, creating the new file and selecting.