added options to control workflow (regrid, delete). Now functions return full path filenames