def get_readme_path(file_path):
 dir = os.path.dirname(file_path)
 readme = os.path.join(REPO_ROOT, dir, 'README.md')
 return readme

def get_readme_path ( file_path ) : dir = os . path . dirname ( file_path ) readme = os . path . join ( REPO_ROOT , dir , 'README.md' ) return readme
gets the readme for an associated sample file .