correcting file paths, relative