trying to fix file tracking