What is the process of filing a writ petition?