re-write SSA downloading function. Rename files