toByteArray

Converts a File to a ByteArray.

Return

a ByteArray version of the file.