replacing file paths