create swap and backup files in a seperate directory