Fixed an error in send that was causing receive to never return. Server now correctly interprets the request for a file.