re-construct filesystem directory