Add method to get file identifier