fixed, added appendFile tests and updated README