support multiple file optimize.