def getFileTextInFileDirectory(fileInDirectory, fileName, readMode='r'):
 absoluteFilePathInFileDirectory = os.path.join(os.path.dirname(fileInDirectory), fileName)
 return getFileText(absoluteFilePathInFileDirectory, readMode)

def getFileTextInFileDirectory ( fileInDirectory , fileName , readMode = 'r' ) : absoluteFilePathInFileDirectory = os . path . join ( os . path . dirname ( fileInDirectory ) , fileName ) return getFileText ( absoluteFilePathInFileDirectory , readMode )
get the entire text of a file in the directory of the file in directory .