Modified to test the scenario where the maximum required bandwidth resources is up to 5
input and output files