Close and reopen file for reading.