Added flags to allow custom block size and replacing behviour for updating files instead of updating only differing blocks.