added goodstub; a function to create filename stubs