Added function to read entire file and return the contents in a string. Fixed bug in huffman code.