add select_related again, keep files in unfiled from performing join for folder