Replacing absolute path by relative paths.