for (int i = 0; i <files.length; i++) { File file = files[i]; Log.d("Count",file.getPath()); Actors actor = new Actors(); actor.setName("file name here"); actor.setStatus("file status here"); actor.setThumb("file thumb here"); actorsList.add (actor); }