field names
pocced out listDirectory function