Search Linux file system using threads