Adding onFileSizeLimit event