Fixed error reading schedule file.