Bugfixing alltypfiles subroutine. The bugs were introduced with the function --unicode