If a file is deleted, moved, created or modified, perform the appropriate action