def METHOD_NAME(dirname, skip_file_suffix=None, skip_directories=None):
    """
    Return list of directories and files in a given tree path. By default discards:
    * directories ".svn", ".idea", ".settings"
    * files that ends with ".pyc", .pyx", ".bdf"
    """
    if skip_directories is None:
        skip_directories = SKIP_DIRECTORIES
    if skip_file_suffix is None:
        skip_file_suffix = tuple(SKIP_FILE_SUFFIX)
    dirname = os.path.join(dirname)
    files = []
    folders = []
    for root, dirs, filenames in os.walk(dirname):
        folders.append(root)
        for filename in filenames:
            if filename.endswith(skip_file_suffix):
                continue
            if 'test_' in os.path.basename(filename):
                continue
            files.append(os.path.join(root, filename))
        #files += [os.path.join(root, filename) for filename in filenames
                  #if not filename.endswith(skip_file_suffix)]
        dirs[:] = [d for d in dirs if not d in skip_directories]
        #if len(dirs):
            #print('root = %s' % root)
            #print(dirs)
            #print('------------------')
    return folders, files