file log implemented