incresed file buffer to 1 MB