Function that opens a file as a binary file for reading purposes. The function returns a BinaryReader object.
filename
String that represents the name of the file to open.