BufferedOutputStream program added for Files concept