Fixed File I/O and that one Paste bug

Might want to put file stuff into a class still.