calc year and month from logfile name