With a few simple traces of code, your class can receive notification when users drop a file into a given directory, delete a file or change a file?
You might be utilizing the Entity framework for integration with the database.
To examine the number of allocations and possible CPU spikes in your application, use the Unity Profiler.