reading configurations via Bridge

I'm wondering what is the simplest way to read some configurations (any format is ok, csv, json, whatever) from the linux machine via the bridge library

right now I'm reading a file and parsing it manually (csv) but i'm using String class and it is expensive and I think there is for sure some easiest way