mf: added parameter for input file of MF