Every organization which for any of its last 5 taxable years preceding its liquidation, dissolution, termination, or substantial contraction was exempt from taxation under section
501
(a) shall file such return and other information with respect to such liquidation, dissolution, termination, or substantial contraction as the Secretary shall by forms or regulations prescribe; except that—