filesystem: split up File and Dir Entry types