added mask input file