fixing use of file paths