Fleshed out mapping document handling.
Added support for xls in addition to xlsx