exclude ../ at the root directory