Monitor file changes and record them to MYSQL database table