Converts more Strings and File usage to Path.