Generate the view name based on the file name