Used to load the document from a file after clearing the instance.
procedure LoadFromFile(const AFilePath: string)