(Untested) code for transmitting a file to Arduino. Note: When addressing ports larger than COM9 in Windows you will have to specify the port thusly: "COM10" becomes "\\\\.\\COM10"