Use filesystem::path for references to files
In C++-17 a filesystem library was introduced to deal with holding data to files. It offers following advantages:
- can deal with relative/absolute paths
- direct access to file extensions/base file names
- check if file or directory
- see Documentation