correctly passthrough the original filename of the submitted sample
code cleanup
remove incorrect parse argument
configuration error checking