added -f options
refacter
write summery
add regex match option