safer work with file storage