Adjust files per thread for scala import build