replace file paths