Improve internal file storage in Commit