Trying to cache mediaFile state in disk files