so i have an ArryList called "files" and ive created a validation method for validating if its when used you are callling on a valid index refrence: