Changed file opening around a bit
Added astCreateEnum