Added types to file recorder