debugging sockets, beginning to add sending of each file in directory