Made output to folder understand amfs