Resolved some file reading issues.