store only one file instance instead of images