Clean up files in stream reader