really fixed the resultfiles bug; but there seems to be a bug when not running in parallel