FAM, the File Alteration Monitor, provides an API which applications can use to be notified when specific files or directories are changed. from alek@, with minor tweaks by me feedback and ok espie@ martynas@