abstract out parts of feffnnnn.dat file, use in feffdt and onepath