I have the following function:
def detail(): try: with open(\'file1.txt\') as data: return data.read() except FileNotFoundError: