properly format roster function string
deal with conf_file being a file nto a dir