Originally posted by Peter Kolozvary: ... // Open the Transactions file. File file = new File("D:/Trasactions.txt"); ...