Yes absolutely, the filing of the bankruptcy involves something called an automatic stay. That stay stops your creditors from making any type of contact with you in order to try and collect on the debt. That would include letters, phone calls, emails, any attempts to collect on the debt must stop upon the filing of the bankruptcy. If the creditor continues to attempt to collect on the debt, then actually the creditor is in violation of federal law.
The creditor can be taken in front of the judge and sanctions may be awarded to the debtor.