Move stream to new file