The issue lies in how the path is being constructed. The Path.Combine method already handles path separators, so you don't need to add an extra leading backslash ().
var dirLoc = Path.GetDirectoryName(Assembly.GetEntryAssembly()!.Location);
var path = Path.Combine(dirLoc!, "files", "file.csv");