It depends a little on how and where you plan to use this functionality.
If you intend to use part of the functionality from several applications, and each application will need to process only one of the files (or, at least, not all of them), then it makes sense to divide the libraries into file types.
However, if all of your applications tend to process all types of files, sharing them will reduce the cost of maintaining your solution.
source share