search files added and some editing for autocompleting