Correcting dir listing for debugging