add some file for extractig patches and subsampling