export: let mime be the directory