outputs created directory, even if no records retrieved