Trying to commit a directory