update documents snippet to use firstObject method and to provide an appropriate NSURL
Merge pull request #27 from jefmwols/master

update documents snippet