Added appendFile()