using extension to guess type
added seperator (work in progress)