regions on file utility tests
adding helper methods for checking the error log
adding tests for file utility error cases