Synchronized file reading.