files.each do |ref|
        next if !File.file?(ref)

        id = File.read(ref).chomp
        name = ref.sub("#{prefix}/", '')