added an example showing an optional second parameter for contents method
Merge pull request #159 from capaj/master

added an example showing an optional second parameter for contents method