Can we read data from files and push it to solace? Basically i want solace to act similar to TCP
Yes you can. Would probably take about 50 lines of code. If you don't want to write code, I'd suggest checking out Camel, that's probably the easiest option for reading files and publishing as messages.
Or you could use sdkperf with the -pal option. That's the easiest! Be aware of size limits: 30MB for persistent (queued), 64MB for direct. If you need to send bigger files than this, you'll need to write a fragmenter/de-fragmenter.
We some times send a files contents over a topic. Then subscribe to that topic and receive on the other end. The max size we do is around 20MB and it works.