Fix crypto file support