removed limit to just first 5 files for speed