Fix file exists for hub