better performance of file read