Typo in function name fixed. Propagate return val in onDeterminingFilename.