add pretect file