> How does one create a file from the aml?
If the aml is in a file foo.aml you can do this:
acpidump -f foo.aml > foo.asl
To read your machine's DSDT tables and decode aml in it
acpidump > foo.asl
To recreate an aml file once you fix anything, you will need
acpicatools from the ports.