works with binary files, tudo