public function storeFile($filePath)
{
$image = new ImageProcessor($filePath, $this->maxDimensions, $this->maxFileSize);
$image->process();
$this->deleteFile();
$this->hash = hash_file('sha256', $image->inputPath);
$this->ext = $image->ext();
$this->storage()->put($this->filePath(), file_get_contents($image->inputPath));
}