In Options menu click Advanced. In opened dialog turn on Change dir on open check box. Current directory will be changed on open file