Add userlist_file parameter, management of userlist_file and spec tests

Hi Thias, we needed to manage the userlist_file.