Updated the lof file to use a tempdir