       .end()
 
 
-  createFile: (browser) ->
+  createFileFromContextMenu: (browser) ->
 
     user = helpers.beginTest(browser)
     helpers.waitForVMRunning(browser)

    helpers.deleteFile(browser, newFile)

    browser.end()


  createNewFileFromMachineHeader: (browser) ->

    user = helpers.beginTest(browser)

    helpers.waitForVMRunning(browser)

    filePath      = '/home/' + user.username
    paragraph     = helpers.getFakeText()
    fileName      = paragraph.split(' ')[0] + '.txt'
    fileSelector  = "span[title='" + filePath + '/' + fileName + "']"
    inputSelector = '.rename-container input.hitenterview'

    browser
      .waitForElementVisible     '.vm-header', 20000
      .click                     '.vm-header span.chevron'
      .waitForElementVisible     '.context-list-wrapper', 20000
      .click                     '.context-list-wrapper li.new-file'
      .waitForElementVisible     inputSelector, 20000
      .click                     inputSelector
      .clearValue                inputSelector
      .setValue                  inputSelector, fileName + '\n'
      .waitForElementPresent     fileSelector, 20000 # Assertion
      .end()

    browser.end()


  createFileFromMachineHeader: (browser) ->

    user = helpers.beginTest(browser)

    helpers.waitForVMRunning(browser)

    filePath      = '/home/' + user.username
    paragraph     = helpers.getFakeText()
    fileName      = paragraph.split(' ')[0] + '.txt'
    fileSelector  = "span[title='" + filePath + '/' + fileName + "']"
    inputSelector = '.rename-container input.hitenterview'

    browser
      .waitForElementVisible     '.vm-header', 20000
      .click                     '.vm-header span.chevron'
      .waitForElementVisible     '.context-list-wrapper', 20000
      .click                     '.context-list-wrapper li.new-file'
      .waitForElementVisible     inputSelector, 20000
      .click                     inputSelector
      .clearValue                inputSelector
      .setValue                  inputSelector, fileName + '\n'
      .waitForElementPresent     fileSelector, 20000 # Assertion
      .end()


  createFolderMachineHeader: (browser) ->

    user = helpers.beginTest(browser)
    helpers.waitForVMRunning(browser)
