get the extension of the file
add method 'Schedule.match'