changed file store to use var_export rather than json_encode the array