Adding getInputStream method
Merge pull request #67 from dilshanwso2/master

pull request merged.