some preparation for loadFileGroup()