Fix to not continiously create file pointers.
Merge pull request #54 from jordandukart/1.x

Fix to not continuously create file pointers.