Situation: I am looking for my toolbox in front of the shelf.
Alternative situations: I want to get a book from the shelf on the left side of the door. I am facing the bookshelf to the left of the door trying to find my photo album so that I can look at them.
Question: Which is closer to the door next to me, the shelf or the filing cabinet?