Expose readFile with custom size function