Bugfix scaling mode fill display.  add some file operation.