`new_path` was correct. The output can be either a file or a directory.