Entries function working for DIRs now