to commit the folders