What is the role of an attorney in a bankruptcy?