Add internal constructor to FileScanResult class.
Add error checking to engine field setters.
Add error checking to engine field getters.