Small changes getting working text file