Made file blob generic by moving it to stream