add ignore
encapsulated the reading of the buffer into its own export so library can be used without providing a local file
Merge pull request #1 from pr1ntr/master

Encapsulate readBuffer into export.