Match file name with defined class