write .scp to disk