Refactor, put directory walk and field seporator detection into fileutil