Add progress bar to grep. Allow passing different log folder to funcs.