Insert data in different file formats