added g and N to FileServer