// For complete examples and data files, please go to https://github.com/groupdocs-text/GroupDocs.Text-for-.NET
//get file actual path
String filePath = Common.getFilePath(fileName);
ExtractText extractor = new ExtractText(filePath, filePath.Length > 1 && filePath == "/f");