Fixed file reading bug that caused indexing to crash on large input
added some debug output
Merge branch 'master' of https://github.com/bystam/cowboys-of-context