revising file numerical integration