scans all the files, need to add search