working recording and appending to file