import glob


def get_file_path(folder_path, image_type='jpg'):
    """ find all files in a folder with same suffix"""
    file_path_list = glob.glob(folder_path + '/*.%s' % image_type)
    return file_path_list