Rearrange
Fire detection on FileType event

This allows us to repair the path after a file type change clobbers it.