Fixed Wait for File in Automate Goes bug