fixes to file references