adding hook for keypress

remove csvToXml()