private void ImportTextFile(ITextFile textFile) { try { if (textFile.Import()) { this.log.Info(textFile.FileName, "Imported successfully."); } else { this.log.Debug(textFile.FileName, "Has not been modified."); } } catch (SystemException exc) { this.log.Error(textFile.FileName, "Error: " + exc.Message); } }