Generates a file based on the byte array
The generated file
The byte array
The file storage path
The file name