It depends. Sometimes police have insufficient probable cause to arrest you. Therefore the police will conduct a pre-file investigation. If they gather adequate evidence, they will conduct an arrest, and the D.A. will file charges.