changes to file recording