write visual data to multiple files (have to be merged!) to prevent memory issues