A. If a child is continued in custody prior to adjudication, the delinquency petition shall be filed within forty-eight hours of the hearing to determine continued custody.B. If no petition is filed within the applicable time period, the child shall be released.