Added opening of binary files