Помогите разобраться.
package com.javarush.task.task18.task1822;
/*
Поиск данных внутри файла
*/
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws IOException {
Scanner scannerConsole = new Scanner(System.in);
FileInputStream fileInputStream = new FileInputStream(scannerConsole.nextLine());
Scanner scannerFile = new Scanner(fileInputStream);
System.out.println(Integer.parseInt(scannerFile.next()));
fileInputStream.close();
}
}