public static bool IsPowerPointDocument( string fileExtension ) { return ".ppt, .pptx".Contains( fileExtension.ToLower() ); }