Instructions Problem Statement A Bank has a preferred

Instructions Problem Statement:
A Bank has a preferred customer plan where customers can earn different interest rates on their balance. The interest rate is derived from the amount of the customers cumulative balance in the Bank, as follows:
When a preferred customers balance is less than $ 1500.00, the customer earns 2%
When a preferred customers balance is between $ 7500.00 and 1500.00, the customer earns 5%
When a preferred customers balance is greater than $ 7500.00, the customer earns 7%
Create and use an input.txt file:
Alex Smith, 15000
Tom Red, 2000
Rick Brown, 1500
Peter Mean, 500
Load the above values into your Demo class and calculate the money earned on the preferred customer account based on his/her interest rate. The customers cumulative balance should be calculated based on 5 years period.
Classes:
Demo.java
BankAccount.java (INCLUDED)
Hint:
Make sure you implement the setInterastRate() method to set the interest rate based on the customer balance!
Use the Scanner class to read the user filename.