use file method instead to get latest version always