Reads the desired bytes from given file