Insert fact in different file formats