Changing absolute path to local path