Added getting the latest version of file.