def METHOD_NAME(directory):
    """
    Function to find DICOM files in a given folder.
    :param directory: File path of folder to search.
    :return: List of file paths of DICOM files in given folder.
    """
    dicom_files = []
    # Walk through directory
    for root, dirs, files in os.walk(directory, topdown=True):
        for name in files:
            # Attempt to open file as a DICOM file
            try:
                dcmread(os.path.join(root, name))
            except (InvalidDicomError, FileNotFoundError):
                pass
            else:
                dicom_files.append(os.path.join(root, name))
    return dicom_files