I have no experience in file usage in pi... And the one thing that still puts me off of using sensors with it is the lack of direct reading the sensor values.
Still, I am much interested in one of the devices you are using...
The section display... May I ask you to create a simple example for how to interact with it in b4j? (1 button, 1 label,1 text area)