Match file name with object name