Refactor out the code to get windows file ids