Add "next_step!" to synchronize the pipe
Add "wait_process". Helps wait for files to be completed