Double click to open a file

When I double click to open a file, it doesn't open the file like it did in all the previous versions 4-8, rather it inserts the name of a different file in the "File name" box at the bottom. For example, if I double-click "File 151", in the "File name" box at the bottom it says "File 154". How can this be solved?