Apply config for already opened files