Fix relative path to file.