fix(index): do not read hidden files in models and routes