implify file match function