Use getExpansionLocation instead of getFileLocation