programs for comparing structure factors from different files