1) Added simple encoding detection 2) Read whole files into memory to improve speed 3) Updated README