Cannot be used for txt files!