Set a limit / fix the overflow.. :) No point dynamically allocating, or even printing > xxx results :)

Limited it to 1000 files for now.