Isn't this sort of thing (checksum, size, etc) best left to DOSS?