Detecting file creation.