I think it's better to have File as parameter instead of `String filePath`