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

          browser.end()


  runCommandOnTerminal: (browser, text) ->

    text or= Date.now()



    browser
      .waitForElementVisible   '.vm-header', 50000
      .click                   '.vm-header'
      .click                   '.vm-header .chevron'
      .waitForElementPresent   '.context-list-wrapper', 50000
      .click                   '.context-list-wrapper .refresh'
      .pause                   2000
      .waitForElementVisible   '.vm-header', 50000
      .click                   '.vm-header'
      .click                   '.vm-header .chevron'
      .waitForElementVisible   '.context-list-wrapper', 50000
      .click                   '.context-list-wrapper li.new-folder'
      .waitForElementVisible   'li.selected .rename-container .hitenterview', 50000
