Open a document from the terminal, but not by name

Noob asks here.
Is it possible to open a file from the terminal not by its name but by its position (number) in the folder? Or some other option?

Because the name is too long.