implement ls -l, better behavior for listing dirs