Instrumentation on files