[Android] Convert some for loops to foreach loops in FileBrowser.java.

Also make an anonymous class method parameter more readable. Anything is better than arg[x].