Modified version of NXPUSBLib's VirtualSerial example to provide support for FILE stream