Add getName method to FIle.