def scrap_last_name(file):
    """
    Getting folder name from the splitted file_name
    If the file_name is data_FXVOL_20130612.xml, then the folder name returned will be '201306'
    """
    if file.startswith('data_') and file.endswith('.xml') and file.count('_') == 2:
        split_name = file.split('_')
        return split_name[2][0:6]