Basic file server written in server