Added real_entries method to Dir class.
Updated to use real_entries method.
Updated to use real_entries method.