private bool IsValidHeader(string unparsedText) { if(unparsedText.Substring(0,1) == "G") //Refactor: Move up { return true; } else { return false; } }