Fixed and clarified here and in `getFileForPath` that the path must be absolute.