load file with stream