Add check for controller.txt