dir listing empty preparation