Added additional dirlist attribute file_type to distinguish files from directories