timediff: specify directory (wildcard accepted); lifefilename: option to use ls instead of dir in matlab since ls supports wildcards in both directory and file names