Long term file reference patterns and their application to file migration algorithms