added optimize file