reduce the number of files