Taught TemporaryDirectoryChange to handle files.