-fixed ram issue on tuple file creation