Support for sending files

Added support for sending files to client. But there is no support for
recieving (yet). Might not work until a client has tested the server...