Moves an uploaded file to the Upload Directory and rename the file to its SHA1 hash. And it stores the metadata of the file in this entity.