Add code to load log file using file annotation

The loading of the file annotation should be removed
and the getLogFileID should be re-implemented.