removed unnecessary pathlib dependency