Use const class to handle file name.