add function to open current file in secondary editor