added our own file extension .part will not work here if we use file_get_contents so we used our own extension '.etmp'