Test file type with repeatable option.