renamed mode to driver for general configuraton. renamed oneshotdriver to filedriver