File I/O working in ldacfgs.