My testing seems to pass all validation criteria, however validation fails for: - When the program is run with the arguments "-c productName price quantity", a new line with the corresponding product should be added to the end of the file. - The product must have the next id after the maximum id found in the file. - The format of the new product line must precisely match that format specified in the task. - The file streams must be closed. - recommendation from your mentor - The file input stream was not closed. I replaced try with resources solution with explicit close and that did not seem to change anything. Any help/ideas would be greatly appreciated.