Fix file open filter.
Optimize: default same file name.
optimize in place