new file output and fixed tangent force output