Add method for getting file name.