(a) Any attorney representing a debtor in a case under this title, or in connection with such a case, whether or not such attorney applies for compensation under this title, shall file with the court a statement of the compensation paid or agreed to be paid, if such payment or agreement was made after one year before the date of the filing of the petition, for services rendered or to be rendered in contemplation of or in connection with the case by such attorney, and the source of such compensation.
(b) If such compensation exceeds the reasonable value of any such services, the court may cancel any such agreement, or order the return of any such payment, to the extent excessive, to—
(1) the estate, if the property transferred—
(A) would have been property of the estate; or
(2) the entity that made such payment.