Buttons to save and open text file in processing 3

can you give an example for this code ?