Read a file from the filesystem (not necessarily inside the working folder of the repository) and write it to the object database.
repository where the blob will be written. this repository can be bare or not
file from which the blob will be created
0 or an error code