Heavy rain and flooding threat late Thursday into Saturday