Fixes on text files