using file_recognize
using stream_recognize