add end tag for getAllFiles