'''Open the next file that doesn't exist yet if there is currently no file opened'''
def _cycle(self):
'''Close the current file, open the next file that doesn't exist yet'''
#TODO: This opens a new file also at the end, which can result in empty WARCs. Should try to reorder this to only open a WARC when writing a record, and to only close the current WARC if the size is exceeded after write_client_response.
A new WARC will be started automatically if the size of the current file exceeds the limit after writing all requests and responses from this `response` to the current WARC.