work only with active record
Adapt behaviour to active record save flow
remove file on destroy
Removes previous file on overwritting