Charges have been filed against the man accused of shooting a sheriff's deputy at a hospital in Indiana.