It is not correct since the file being opened may not belong to the current selected solution.