Actually files reside in Secondary Memory (Disk)
part of files(pages) reside in Main Memory
part of Pages ( Blocks ) reside in Cache
part of Blocks ( words ) reside in TLB
logical address generates a address for a word ===> check in TLB, if miss ===> check in cache, if miss ===> check in Main Memory, if miss =====> check in Secondary Memory.
Real life Example:-
You required spare part of your Bike.
you ask mechanic, if he doesn't contain ----> go to the showroom in your town, if there also not present ----> Go to showroom in Capital of State,if there also not present ----> Go to showroom in Capital of Nation.
you can't go directly to the showroom in Capital of Nation if Mechanic doesn't have it.