Check validity of parent object before creating link
Use parsed mimetype when uploading OriginalFile