files from sd cards can now be read and transmitted over the serial port.

also fixed some bugs