Limit the amount of file names shown in the text widget.