file status almost working