private string[] FixRelativeLocation(IEnumerable<string> files)
{
var fullFileNames = new List<string>();
foreach (var file in files)
{
var pathIsRelative = file.Length > 0 && Path.GetPathRoot(file).Length == 0;
fullFileNames.Add(pathIsRelative ? Path.Combine(environment.GetRunDir(), file) : file);
}
return fullFileNames.ToArray();
}