RATIONALE: Photodynamic therapy uses light and drugs that make cancer cells more sensitive to light to kill tumor cells. This may be effective treatment for cancer of the bile duct, gallbladder, or pancreas.