Write to the hello file in append mode, so that previous lines don't get lost