Checked with multiple files, seems to work on all occasions. I decided not to use the while (available >0) loop as it is not needed when writing everything in the array at once. The requirement failures seem to indicate the validation process is expecting something. Would be good to know if my code is bad or the validation is too strict. Thank you!