updated without mouse locator to use the file resource