Exposed a function to get the system's temporary directory and to generate the random filename string