fix file tracking