Loading a directory loads files only when they are required