parsing by some options a log file