Opens a file for writing
copy of self with file as open file and closed set to False
Enter search terms or a module, class or function name.