flat dir struct