Count files as "computation failed" if they are deleted during processing.
Finish implementation of write_to_disk by adding logging. BTW, the script works very well already, produces bit-identical output compared to the bash-implementation, even with multiple abort/resume cycles :)