Add support for specifying destination file