static import of getCanonicalFile would improve the readability...