Deal with relative/absolute paths