Added set_file.py and added comments