return directory list for %files section