change file input to use mmap
impl search some keywords