What happens after filing a writ petition?