do not fire generateFor for directories too