index functions to get filename and check exists

no reason for Data to have a private sub to do this
call get instead of duplicating