added option to ignore files of a certain length