Wrote a different file reader to see if it will work for serial communication.