Note that the documentation states that the output can be a single file or a directory. Thus, the correct type is `new_path`.