As was pointed out in this thread, the Package object should aim to be as immutable as possible. Right now, we open File objects in order to read the filename of the passed in File or string path, but these are never closed. We should close these after we are done.