How to go through the "for" loop on the internal storage in android?

How to go through the “for” loop on the internal storage in android?..