updated service working right for files