Merge pull request #85 from bhattigurjot/master

corrects readStream to open file
Merge pull request #87 from bhattigurjot/master

corrects the IDs of the entities