make create_new_cachefile helper