Can now export this project as a runnable jar in Eclipse, it skips over the last line of module1.txt for some strange reason though