Hide file input if readonly