Ignoring .txt files
Outputing to file working