Create ai_file