Extract GetFileWinnr() function
Jump to correct window even after opening preview window