added actions when detecting new file