wip - tempdir helper nethods can accept file content