Added search for file, dir, tar, text file.