It creates listener for each added directory