correct which file read method to use