     return data
 
 
-  deleteFile: (browser, fileSelector) ->
+  deleteFile: (browser, fileSelector, callback = ->) ->
 
     browser
       .waitForElementPresent     fileSelector, 20000

      .pause                     5000
      .waitForElementVisible     '.panel-1 .panel-1 .kdtabpaneview.terminal.active', 25000
      .assert.containsText       '.panel-1 .panel-1 .kdtabpaneview.terminal.active', text


  setCookie: (browser, name, value) ->

      .clearValue               'li.selected .rename-container .hitenterview'
      .setValue                 'li.selected .rename-container .hitenterview', fileName + '\n'
      .pause                    3000 # required
      .waitForElementPresent    "span[title='" + folderPath + '/' + fileName + "']", 50000, false, -> callback() # Assertion


    return fileName


  createFileFromMachineHeader: (browser, user, fileName, shouldAssert = yes, callback = ->) ->

    unless fileName
      fileName    = @getFakeText().split(' ')[0] + '.txt'
