Start to add an iterdir function which will sit behind a listdir replacement