Logfiles() performance tweak for filename search parameter