commit a file in child directory