Reads a csv file as a string and export content in excel format using xml. Created with symfony 2.3.