File read optimization