package examples;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;

public class FileScan {
	public static void main(String[] args) throws FileNotFoundException {
		File f = new File(args[0]);
		Scanner input = new Scanner(f);
		while (input.hasNextLine()) {
			System.out.println(input.nextLine());
		}
	}
}
