fixed file tracking issues