Nearly done, works with a.txt but not b or e