Synchronized file reading