File should be opened only once.
Add text select commands.