replaces absolute path