Manage the list of source directory with an array