Instead of decrementing a counter in `determine_delta()`, we should increment it and check against `files_count` and the end, instead of 0 We should also add some error message when the assertion fails.