Set construction in different file formats