Put data in external file