Sector-file generator