Added code to handle different byte sizes. Also added functionality to
create disk if disk cannot be found.