persists items to file
commons io lib