Added an option to open a test file in new window