add file, hook in
set swaps