Read a file from the working folder of a repository and write it to the Object Database as a loose blob, if such doesn't exist yet.
return the id of the written blob
repository where the blob will be written
file from which the blob will be created