Temporary files, or
foo files (
.TMP), are files created to temporarily contain information while a new file is being made. It may be created by
computer programs for a variety of purposes; principally when a program cannot allocate enough memory for its tasks, when the program is working on data bigger than the architecture's
address space, or as a primitive form of
inter-process communication.