Not sure if this will or will not need to be done in a finally... you'll need to test what goes wrong if an "no such file found exception" etc is thrown