numeric filename support

fixing mistake, returning cast string to support numeric filenames