issue #86 and #93

done unlock file and search file in kb.