Added support for xls input.