Clean structure for file data, filter option, parse file types and permissions