now adds entries to file