Document files can be read with open() and with-blocks (.read(), .readline(), .readlines()); writes raise PermissionError. File objects remain non-iterable and the collections module is still unavailable.