How to file a writ petition?