@staticmethod
def get_date(filename):
    """
        Obtain the date from the filename. The format is YYMMDD.

        :param filename: Filename
        :type filename: str
        :rtype: datetime
        """
    import datetime
    d = filename.split('/')[-1].split('.')[0]
    return datetime.datetime(year=int(d[:2]) + 2000, month=int(d[2:4]), day
        =int(d[-2:]))
