Removed permission notification behavior out of the generic file controller, moved it into the generic file model.