manage MODX Elements (write/read from files)