def categorize_local_files(manifest):
    """Categorize the files in the lambda function's directory into two bins:  python files and other files"""
    python = []
    other = []

    for filename in manifest.basedir.iterdir():
        path = filename.relative_to(manifest.basedir)
        if path.suffix == '.py':
            python.append(str(path))
        else:
            other.append(str(path))

    return python, other