retrieve file from usb automatically