@Nonnull
@Override
public ScanCheckResultBean checkFile() {
try (InputStream sampleFileInputStream = getSampleFileInputStream()) {
ScanImportStatus returnValue = null;
if (sampleFileInputStream == null) {
log.error("Sample file input stream was null. Returning null.");
return new ScanCheckResultBean(ScanImportStatus.WRONG_FORMAT_ERROR);
}