cpfile doesnot complete