Add writing of fields file