def extract_file_number(file_name):
    """ Extract the file number from a file name """
    file_name = str(file_name)
    dot_contents = file_name.split('.')
    hyp_contents = dot_contents[0].split('-')
    base_name = hyp_contents[len(hyp_contents) - 1]
    return int(base_name[:-1])