accept dot(.) as current direcotry
fix removed files output
ensure arg passing onto thread