Avoid overwriting previous err
Keep track of the ast
Directory index style