Debugged search; now works for file attributes.