Added wait_on_bafile_release.py