Added deprecated metadata to file-info middleware