By going down this path, you are preventing yourself from checking if stat returned an error.
In reply to Re: list slice by ikegami in thread list slice by eXile