add a to file