Automate resizing of file system