create a scanner(parser-like) for redis data import file