example_libxtreemfs: moving complex operations to separate example