Excluded '.' and '..' from scandir calls.