Fix file date mangement