Add file size optimize mode