moved load_file to load_file.h and reading by bytes