Initial changes to allow LEMS to read files with structured annotations