Implement a python script that prompts the user with a dialogue box to select a folder path and where to save the output using Windows explorer. After the user selects the input and output folders, the script iterates through the input folder and generates a csv file as its output. The csv file has the file name, md5, and the first 25 characters of text in each file. The script works on any file with text. Avoid using the following keywords: file, windows, path, dialogue
user