ex file method