writing articles names in a file