Fixed slow loading of text files
Merge pull request #813 from drilus/master

Fixed slow loading of text files --fixed