Handle default index file in directories