add local file as prioritary in sort of version