read_and_extract_file_details

Python code to read a file and get the filename and text from first line
of the file