add name and term info to files