more file read optimization