2What is the main advantage of with open('f.txt') as f:?AIt locks the fileBThe file is closed automatically, even if an error occursCIt opens in binary modeDIt reads fasterView AnswerWorkspaceReportSaveEasy