Made filePath a String for simplicity