edit files according to instructions