stock control database and image and related files