The prepend and append methods allow you to write to the beginning or end of a file:
prepend
append
Storage::prepend('file.log', 'Prepended Text'); Storage::append('file.log', 'Appended Text');