read warehouse state from file