reading files, now need to send to server