Client: read dir and initialize conf file