Failing to close files when they are no longer needed inadvertently provides a way for attackers to manipulate system resources.
Failing to properly close open files may allow unintended access to system resources.