parent directory functionality