Minor change by Nathan

Changed the way the program opens a file to be quicker and not require closing ('with' method auto closes files even when crashing). Also added comment to suggest how to split lines.
Merge pull request #1 from Malthanatos/patch-1

Minor change by Nathan