I am trying to access one field in an arraylist element. It is an arraylist<PixFile> (named photos) consisting of elements containing the fields of
fileName, photographerName, fileType, and double fileSize. I am only trying to access the fileName field of each element and
I'm not sure how to go about doing that. I have tried the photos.get(0) for the first file name, but I'm getting the entire toString method
but I only want a list of fileNames. HOw does one access only one field of the element?