public virtual void Load()
{
if (System.IO.File.Exists(Path))
{
using (StreamReader sr = new StreamReader(Path, Encoding.UTF8))
{
mFlatFileData = sr.ReadToEnd();
sr.BaseStream.Position = 0;
sr.DiscardBufferedData();
LoadInternal();
}
}
else
{
AddError("File " + Path + " does not exist.");
}
PostLoad();
}