What is the purpose of the 'with' statement in file handling?
It creates a new file
It automatically closes the file
It appends data to a file
It reads the entire file at once
This question is part of this quiz :