Issue #3173984 by jlatorre, azenned: Create a method getFilename so we can override the destination filename