tell which was the next in-order file to be processed

also, cleaner error messages
todo