Code that works for reading from SD and sending to the server