I know, i did it like this so we can eventually delete a datahash/tempfile before exit cleanup.
Unused atm, but it makes more sense to pass datahash as in other functions.
I prefer to keep it as is for now.