change to example code, and create_file return value
Merge pull request #2 from stevendgonzales/master

updated return value for create_file method