better file io, taking single dir with xmls in it