Alyssa/add wire support

This was really naive of me to commit....

Updated to use temp files. Thanks!