Technically, the name writing to file happens above, inside the function.