STATE_utilities_free_file_memory
Used together with STATE_utilities_file_to_memory() to free memory that we don't need any more. note that "void *mem_ptr" is a pointer to void which means that it will accept any type of pointer.