dont open files twice in analyse groups