add options for readFile