Insert field in different file formats