from typing import List
from pathlib import Path


def get_filepaths(tutor_data_path: str) -> List[Path]:
    """
    Get the paths of the .npy data files in the directory, with recursive
    effect.

    Parameters
    ----------
    tutor_data_path : str
        String representing the directory path.

    Returns
    -------
    List
        List of the paths of the files.

    """
    return list(Path(tutor_data_path).rglob('*.npy'))