Modified sfile processing

* updated the remote delete function when uploading.
* when processing sfile a value error is possible when unpacking,
if this happens now a None is returned and the error is logged.