Don't call .read()
(which slurps the whole file when you only need one line), just loop over the file object itself (which is an iterator of its lines) until you find the line you care about:
with open("nxc.txt") as f:
for line in f:
name, sep, value = line.rstrip().partition('=') # Remove trailing whitespace, split on = at most once
if sep and name == 'Theme': # Cheap to confirm it split by check if sep non-empty, then check if found correct name
break # You found it, break out of the loop
# value contains whatever is to the right of the equals after Theme
print(value)