Handles multiple source directories