add new function _check_netgroup_file
close #1