ecl file compile function