Changed file -> byte array conversion and empty files can no longer be opened