send file to client