only work on 10 files at a time