Added getFileName() method.