Fix Added Textfile directory and relative path setting