build csv and xml from normal files