Implementation of Multipart Map for Spark
Made the temp file to have the proper file name