add NewFileServer function