add file and directory operate