Adds memory friendly reading for bitmap files