Fix file API url