benchmark loops on all files