g.part4_extradctid function

Extracts ID from filename and finds matching rows in sleeplog