Switched FileResource to properly read and write CD records