[CLEANUP] Added warning suppressions on sparse array suggestion warnings
[BUGFIX] Closing possible open streams to prevent resource leak warnings