Fix for single-file reading.