get_metadata from file name