commit of files in directories