Fixed a bug where the interpret function didn't close the file stream.