Avoid redundancy, output error if path not found.