Will be really nice if you could add support for pathlib as you get an error if you use a pathlib.path as paths for the files.