Change file read method