Temporary file handling changes.