import glob


def get_all_files(basedir):
    """Get a list of all files in basedir, recursively

    :param basedir: base of the path where to look for the files
    :return       : a list with all the file paths
    """
    return [name.replace("%s/"%basedir, "", 1) for name in glob.iglob('%s/**/*'%basedir, recursive=True)]