Using pathlib to work with filenames