Added file-type magic
Update to nimsdata head