Need help with read txt

I need a little help with this code.
The purpose of this code should be to take the lines where the reservations are from the txt and add them next to their date in a Vector class.
For example, looking at the below image , the result would be : [%C$Josep$663254$j626@lum-10/01/22-09, %C$Juemo$669522$tomasoi@lum-10/01/22-12, %C$Recaredo$6514232$jtomas23@lum-12/01/22-12].

Vector day (it’s given in the main )it will be : [10/01/22, 11/01/22, 12/01/22].
Vector hour(it’s given in the main )it will be : [09, 10, 11, 12, 13]

Vector reserves(it’s given in the main ) it will be : [%C$Josep$663254$j626@lum, %C$Juemo$669522$tomasoi@lum, %C$Recaredo$6514232$jtomas23@lum]

public Vector LecturaReservasVox(String fileName,Vector day, Vector hour,Vector reserves) {

	File archivo;
	FileReader fr;
	BufferedReader br;
	
	 Vector<String> b = new Vector<String>();
	
	try {
	
	archivo = new File(nombreArchivo);
	fr = new FileReader(archivo);
	br = new BufferedReader(fr);
		
		String line;
		
		while((line= br.readLine()) != null) {
	
			for(int z = 0;z<reserves.size();z++) {
				
						
			
			
		for(int i =0;i<day.size();i++) {
			
			
			for(int j = 0;j<hour.size();j++) {
				
				
				
				if(linea.equals(reserves.elementAt(z))) {
					
				
					String res = reserves.elementAt(z) + "-" + day.elementAt(i) + "-" + hour.elementAt(j);	
					
					b.add(res);
			
					}else {
						
						
						
						
					}
				}
					
			}
			
		}
				
	}
		
		
		br.close();
		fr.close();
		
		
		
		
	}catch(Exception e) {
		
		
		System.out.println("Hubo un error leyendo el archivo");
		
	}
	return b;
	
	
	
	
}

image

Hmm I remember doing something like this:

perhaps the last part of the code can be written something like this.

catch(Exception e) {
			e.printStackTrace();
		}finally {
			try {
				if(null != fr) {
					fr.close();
				}
			}catch(Exception e2) {
				e2.printStackTrace();
			}
		}