require usb-detection on top of file