refs 7044 remove sweeper from generate_file