console.log commits on file open