what happens if filePath is not absolute?