move some calls to prim_file
Merge branch 'master' of https://github.com/biokoda/actordb_core