added new function and renamed promise
renamed function
Merge pull request #21 from lob/add-str-to-disk

added new function and renamed promise