Optimized file change triggering