Add option to quit when over the limit of file count