support configurable filecount