Only handle attribute events when file is empty