Welcome to Microsoft Q&A platform and thanks for posting your question here.
There are various ways to define source files in Data Flow.
One file could contain a list of the sources you want to use. (Single dataset; not inline)
You can choose to use a folder's entire contents.
A wildcard expression is possible.
These all would eliminate the need for 50 datasets. Personally, I like to use inline in Data Flow rather than datasets. So, I won't have cluttered my workspace.
I hope this information helps you resolve the issue. Let me know if you have any further questions or concerns.