Add check for validity, changed checking for keywords in wav file
Made method for getting offset by founding the certain word