New file is opened in existing window instead of new one.