passing an inputfactory for tabulated format