basic fileserver functionality