changed sendobject hash to return null if the file does not exist