Create open_file_in_idle.py

Add open file in idle function.