commiting a file within a directory?