Example code for Xi Filelib