base.sh: getFilename() and getFileSuffix() added