fetch remote files to extract metadata