def read_file(location): with open(location, 'rb') as f: return f.read()