Slight change to get_metadata to support new filenames. For Ticket #143.