James F. Moriarty , the U.S. ambassador to Dhaka , said Sunday that about $ 10 million would be used to meet emergency food needs while the rest would be distributed over the next three years , mainly through school feeding programs .