detect if a file was touched