correcting file paths