createFiles function removed