File changes are now properly detected