#4 added FileInput.java with inheritance to Input.java