renamed 'disk' mode to 'file' mode