Fix incorrect number of arguments error in filename_helpers