target filename is an optional argument