headerfile: cleanup main folder variables