Actually fix problem when there are multiple files.