private static string RenameFileWithTitleCaseAndCompanyName(string fileName, string oldCompanyName, string newCompanyName)
 {
     return(FileNameParts.Parse(fileName).WithNewName(name => Rename(name, oldCompanyName, newCompanyName)).Combine());
 }
 private static string RenameFileWithContentsOfFirstLine(string fileName)
 {
     return(FileNameParts.Parse(fileName).WithNewName(_ => File.ReadLines(fileName).First()).Combine());
 }