modx - store elements in files