add getFileName method