The require function returns {} if directory doesn't exist.