public HitResourcegroup(string HitPath, string EVTPath, string HSMPath) { HitResource = new Hit(File.Open(HitPath, FileMode.Open, FileAccess.Read, FileShare.Read)); Events = new EVT(File.Open(EVTPath, FileMode.Open, FileAccess.Read, FileShare.Read)); if(HSMPath != "") Symbols = new HSM(HSMPath); }