Fix issue: When file not found causing exception to be thrown, FilesHub
still add in database.