efficient file read