Add comments to generate_file_link.py