aiming for using only pathlib.Path or switching to only using strings if it is not possible
aiming for using only pathlib.Path or switching to only using strings if it is not possible