remove create repofile function, better done elsewhere