- added method to get the binary of a file