Added further commenting to clarify the reading from the treecache.txt file. Also removed unneeded and commented out code.