changed: Pass listdir to dir job (thanks JM)