added append mod in file