formating for directory listing