def get_max_len(files_list):
    """Get the length of the file with the longest filename"""
    ret = 0

    if len(files_list) > 0:
        filename_lengths = [len(x) for x in files_list]
        max_len = max(filename_lengths)
        ret = max_len

    return ret