fixed use of serializer.ReadFile assuming the returned value is always table