Now the file puzzle_number is being updated and it automatically adds a new puzzle to the file if the size is not found.