Displaying a list of folder items in a UI 4.6 text object.

Hello I am trying to loop through a folder and get a list of files in that folder, then display them in-game. I can get the files good, but I am having a hard time displaying them. What would be the best way to go about this?
Here is my code.

using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine.UI;

public class MeshUpload : MonoBehaviour
{
	// Text to Display the directory.
	static Text directoryText;

	// String to store the Mesh Directory Path
	public string meshdirPath;

	// Input Field for Mesh Directory Input Field
	public InputField meshdirInput;

	///Variables for displaying the directory contents  
	private string dirOutputString = "";

	//A string that stores the selected file or an error message  
	private string outputMessage = "";

	void Start ()
	{
		directoryText = GameObject.Find ("MeshUploadDirText").GetComponent<Text> ();

		//Append the '@' verbatim to the directory path string  
		this.meshdirPath = @"" + this.meshdirPath;

		string [] fileEntries = Directory.GetFiles(meshdirPath);
		foreach(string fileName in fileEntries)
		ProcessFile(fileName);

		foreach (string fileName in fileEntries)
		{
			directoryText.text = fileEntries.ToString ();
		}
	}

	void Update () 
	{
		// Make the Directory string sync with the input field text.
		meshdirPath = meshdirInput.text;
	}
		
	// Insert logic for processing found files here //
	public static void ProcessFile(string path) 
	{
		Debug.LogWarning("Processed file: " + path);
		directoryText.text = path;
	}
}

Should I instantiate different text objects for each file found? I’m pretty confused at this point.
Thanks for your time!

I use this.

    var fileThumNail : GameObject[];
    var thumbnail : GameObject;
    
    var rowx : int;
    var rowy : int;
    
    //grid structure
    function Update(){
    
        for (var f : int = 0; f < files.Length; f++){

    //make rows
    	if(f % 5 == 0 && f >2){
    		rowx = rowx + 1;
    		}
    	if(f % 15 == 0 && f >2){
    		rowy = rowy + 1;
    		}

    	fileThumNail[f] = Instantiate(thumbnail,Vector3((1.0  * f - (5.0*rowx)) + (6.0*rowy),(rowx * -1.0) - (-3.0 * rowy),0), Quaternion.identity;
    
    
        }
    
    
    }

    //normal structure

    function Update(){
    
        for (var f : int = 0; f < files.Length; f++){
	folderThumNail[f] = Instantiate(thumbnail,Vector3(1 * f,0,0),Quaternion.identity;

        }


}