optimize readfile function
Merge pull request #1 from xudafeng/master

Optimize readfile function