Major performance increase again, this time by @Kaelima. Searching for a specific file in my C directory now takes 5 seconds (previously would take 40 in total).