Returns a new string by removing any characters that are not valid to use in filenames.
string TrimAsFileName( object content, bool includeExtension = false )
var myName = "Name*Of<File.txt"; Name = TrimAsFileName( myValue ); // Name is now "NameOfFile"