Made warehouse readable from .dat file, stock adding is working also.