public static bool ReadFile(string location, CVSReader reader) { CVSReader.Init(); XBinaryReader.Init(); XInterfaceMgr.singleton.AttachInterface <IResourceHelp>(XCommon.singleton.XHash("XResourceHelper"), XResources.singleton); return(XResourceLoaderMgr.singleton.ReadFile(location, reader)); }