Update visibility without params[:generic_file]

If you only change a file’s visibility, params[:generic_file] is nil so
the update never happens. This provides a separate method to account
for this situation.
The params[:generic_file] is unnecessary, because it will never get to this path if it has params[:generic_file] set.