File joinFile(Directory dir, List<String> files) { final pathFragment = files.join(_sep); return File('${dir.path}$_sep$pathFragment'); }