fix readin file references