Writes the text to the file
ApeError if one of the exceptions is raised
Enter search terms or a module, class or function name.