def new_fname(oldpath, inpath):
    """
    Determine output filename
    """
    import os
    newf, ext = os.path.splitext(oldpath)
    newf = newf + '.conll'
    if '-stripped' in newf:
        return newf.replace('-stripped', '-tokenised')
    else:
        return newf.replace(inpath, inpath + '-tokenised')
