 
     return reply.substr(reply.indexOf("\r\n\r\n") + 4)
 
-String::capitalize = ->
-  @replace /(?:^|\s)\S/g, (a) ->
-    a.toUpperCase()
-
 esy = new Esy()

      @log property

  log: (str) ->
    $.write "#{str?.toString()}\n"

  dump: (obj) ->
    if obj
      $.write "\n Dumping: \n --- \n"
      for propertyName, propertyValue of obj
        log "#{propertyName}: #{propertyValue?.toString()} \n"


class Esy.file

  delete: (filepath) ->
    file = File filepath
    file.remove()

  create: (filepath, content = "") ->
    file = new File filepath

    return file

  read: (filepath) ->
    file = File filepath
    file.open "r"
    content = file.read()
    file.close()
    return content

  filename: (filepath) ->
    filename = filepath.substr filepath.lastIndexOf('/') + 1
    return filename

class Esy.ui

