testing how to read directories