change the file list to include dir and file info in the list