look for file first, folder second