Refined diskSpace

got rid of unnecessary code that would never be used after doing more research on RandomAccessFile