added support to store/load data to filesystem