Added the maxFiles option.