Java experiment to handle bitmap files