Use file locator from pytrip to extract path basename in save_file_path() etc. https://github.com/pytrip/pytrip/blob/db5fce491bed90a3319bafc3a8c3a34af90301d0/pytrip/util.py#L403