add override file check